package com.joe.pattern.observer;

/**
 * @Description
 * @Author 高建伟-joe
 * @Date 2024-01-12
 */
public interface Subject {

    void attach(Observer observer);

    void detach(Observer observer);

    void notify(String message);
}
